package com.project.mapper;

import com.project.bean.CustomerBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICustomerMapper {

    public List<CustomerBean> findByItem(@Param("name") String name, @Param("scope") String scope);//

    public void add(CustomerBean customer);

    public void update(@Param("id") int id, @Param("headMan") String headMan, @Param("tel") String tel, @Param("scope") String scope);

    public CustomerBean findById(int id);
}
